Skip to main content

2.2.2. Query string parameters

ParameterDescriptiontypeIs it Mandatory to complete the field?
datedate and time of document creation, format: yyyy-MM- dd hh:mm:ssstring
docNumberdocument number in the accounting systemstring
wsNamecheckout number to print onstringnot necessary
departmentNamethe name of the store to be printed on the checkstringnot necessary
employeeNamefull name of the cashierstring
amountdocument amount in kopecksinteger
currencycurrency namestring
genPreviewtrue – for generating a graphical image of the receipt, false – for printing
itemslist of goods/services by invoicearray
paymentspayment listarray
parentDocIDfiscal code of the sales documentstring
parentDocIDfiscal number of the sales documentstringnot necessary

items Array​

ParameterDescriptiontypeIs it Mandatory to complete the field?
itemIdproduct/service code in the accounting systemstring
itemNameproduct/service namestring
itemQRCodeQR-code product identification system
itemCodeexternal code, classification code
itemQtyqty*1000integer
itemAmountamount payable in kopecksinteger
discountdiscount amount in kopecksinteger
itemTaxeslist of taxes by itemarray

itemTaxes Array​

ParameterDescriptiontypeIs it Mandatory to complete the field?
taxNametax namestring
taxCodetax symbol (if applicable)string
taxPrctax percentage*100integer
taxAmountamount of tax in kopecksinteger
calcTypetax calculation type, possible values: 1 – including, 2 – fixed, 3 – simplified, Default value - 1integer

payments Array​

ParameterDescriptiontypeIs it Mandatory to complete the field?
typepayment type code ( C - cash, V - by card, other types of payments - see appendix)string
namepayment type namestring
amountpayment amount in kopecksinteger
changechange amount in kopecksinteger